package com.xxm

import androidx.camera.camera2.Camera2Config
import androidx.camera.core.CameraXConfig
import androidx.camera.core.impl.CameraConfig
import com.zhangws.comman.BaseApplication

/**
 *Time:2023/6/8
 *Author:zhangwenshuan
 *Description:
 *since version
 *
 */
class AppApplication : BaseApplication(), CameraXConfig.Provider {
    override fun onCreate() {
        super.onCreate()

    }

    override fun getCameraXConfig(): CameraXConfig {
        val config = CameraXConfig.Builder.fromConfig(Camera2Config.defaultConfig()).build()
        return config
    }
}